package com.bo.wei.chen.mybatis.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bo.wei.chen.mybatis.mapper.productDOMapper;
import com.bo.wei.chen.mybatis.model.productDO;
import com.bo.wei.chen.mybatis.model.productDOExample;
import com.bo.wei.chen.mybatis.service.ProductService;

/**
 * TODO
 *
 * @author chenwb25485
 * @version V2.1
 * @since 2020/10/12 10:39
 */
@Service
public class ProductServiceImpl implements ProductService {
	@Autowired
	private productDOMapper productDOMapper;
	@Override
	public int insertSelective(productDO record) {
		return productDOMapper.insertSelective(record);
	}

	@Override
	public List<productDO> selectByExample(productDOExample example) {
		return productDOMapper.selectByExample(example);
	}
}
